﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAO
{
    public class KhoDAO
    {
        QLKHDataContext _db = new QLKHDataContext();
        public List<string> GetTenKho()
        {
            _db = new QLKHDataContext();
            var listKho = _db.khochuas.Select(s=>s.tenK).ToList();
            return listKho;
        }
    }
}
